package com.ai.wxy.spring.jpa.test.entity;

import com.ai.spring.data.jpa.domain.JpaEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * 内容配置实体
 *
 * @author 石头
 * @Date 2019/10/22
 * @Version 1.0
 **/
@Data
@Table(name = "mg_rsconf")
@Entity
public class MgRsconf extends JpaEntity {
    @Id
    private Long id;
    /**内容名称*/
    @Column(name = "rs_name")
    private String rsName;
    /**内容类别*/
    @Column(name = "rs_category")
    private String rsCategory;
    /**内容坑位*/
    @Column(name = "rs_position")
    private Integer rsPosition;
    /**内容描述*/
    @Column(name = "rs_desc")
    private String rsDesc;
    /**图标*/
    @Column(name = "rs_icon")
    private String rsIcon;
    /**二维码*/
    @Column(name = "rs_qcode")
    private String rsQcode;
    /**内容生效开始日期*/
    @Column(name = "rs_begin")
    private Date rsBegin;
    /**内容生效结束日期*/
    @Column(name = "rs_end")
    private Date rsEnd;
    /**数据有效性*/
    @Column(name = "rs_status")
    private Integer status;
}
